package instant.mail.note;

import android.net.Uri;
import android.provider.BaseColumns;

public class Greeting {
	public static final class Notes implements BaseColumns {

		public static final Uri ALL_NOTES_URI = Uri
				.parse("content://instant.mail.note/greetings");

		/**
		 * The note attachment
		 * <P>
		 * Type: TEXT
		 * </P>
		 */
		public static final String ATTACHMENT = "attachment";

		/**
		 * The note body
		 * <P>
		 * Type: TEXT
		 * </P>
		 */
		public static final String BODY = "body";

		/**
		 * The timestamp when the note was created
		 * <P>
		 * Type: INTEGER (long)
		 * </P>
		 */
		public static final String CREATED_DATE = "created";

		//public static final String DEFAULT_SORT_ORDER = "modified DESC";
		public static final String DEFAULT_SORT_ORDER = "title ASC";

		/**
		 * The timestamp when the note was last modified
		 * <P>
		 * Type: INTEGER (long)
		 * </P>
		 */
		public static final String MODIFIED_DATE = "modified";
		
		public static final Uri SEARCH_URI = Uri
				.parse("content://instant.mail.note/greeting/search");

		/**
		 * The title of the note
		 * <P>
		 * Type: TEXT
		 * </P>
		 */
		public static final String TITLE = "title";

	}
	public static final String EXTRA_ATTACH = "instant.mail.note.attach";
	
	public static final String EXTRA_BODY = "instant.mail.note.body";

	public static final String EXTRA_TITLE = "instant.mail.note.title";

	public static final String GREETING_AUTHORITY = "instant.mail.note";

	public static final String[] GREETING_EXPORT_PROJECTION = { Notes.TITLE,
			Notes.BODY, Notes.ATTACHMENT, Notes.CREATED_DATE, Notes.MODIFIED_DATE };

	public static final String[] GREETINGS_PROJECTION = { Notes._ID,
			Notes.TITLE, Notes.BODY, Notes.ATTACHMENT, Notes.MODIFIED_DATE };
}
